<?php

namespace common\validate;

use think\Validate;

class DeadlineTask extends BaseValidate
{
    //验证规则
    protected $rule = [];

    // Fields 验证场景定义
    public function sceneFields()
    {
        return $this;
    }

    public function sceneUpdateDeadLine()
    {
        return $this->append('id', 'require|integer')
            ->append('status', 'integer');
    }
}
